package com.ruoyi.project.hcy.administrations.domain;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName Crew
 * @Author 金刚芭比
 * @Date 2020/9/17 10:13
 * @Version 1.0
 *
 *      人员信息表
 *
 */
public class Crew {

    private Long crewId;//员工ID

    private String crewName;//员工姓名

    private String crewSex;//员工性别

    private String crewJob;//员工职位

    private String crewPhone;//员工联系电话
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date crewCreatDate;//入职时间

    private String crewDepartment;//员工所属部门

    private String crewStatus;//员工是否在职状态

    private Double crewRealpay;//实付薪资

    public Crew() {
    }

    public Crew(Long crewId, String crewName, String crewSex, String crewJob, String crewPhone, Date crewCreatDate, String crewDepartment, String crewStatus, Double crewRealpay) {
        this.crewId = crewId;
        this.crewName = crewName;
        this.crewSex = crewSex;
        this.crewJob = crewJob;
        this.crewPhone = crewPhone;
        this.crewCreatDate = crewCreatDate;
        this.crewDepartment = crewDepartment;
        this.crewStatus = crewStatus;
        this.crewRealpay = crewRealpay;
    }

    public Long getCrewId() {
        return crewId;
    }

    public void setCrewId(Long crewId) {
        this.crewId = crewId;
    }

    public String getCrewName() {
        return crewName;
    }

    public void setCrewName(String crewName) {
        this.crewName = crewName;
    }

    public String getCrewSex() {
        return crewSex;
    }

    public void setCrewSex(String crewSex) {
        this.crewSex = crewSex;
    }

    public String getCrewJob() {
        return crewJob;
    }

    public void setCrewJob(String crewJob) {
        this.crewJob = crewJob;
    }

    public String getCrewPhone() {
        return crewPhone;
    }

    public void setCrewPhone(String crewPhone) {
        this.crewPhone = crewPhone;
    }

    public Date getCrewCreatDate() {
        return crewCreatDate;
    }

    public void setCrewCreatDate(Date crewCreatDate) {
        this.crewCreatDate = crewCreatDate;
    }

    public String getCrewDepartment() {
        return crewDepartment;
    }

    public void setCrewDepartment(String crewDepartment) {
        this.crewDepartment = crewDepartment;
    }

    public String getCrewStatus() {
        return crewStatus;
    }

    public void setCrewStatus(String crewStatus) {
        this.crewStatus = crewStatus;
    }

    public Double getCrewRealpay() {
        return crewRealpay;
    }

    public void setCrewRealpay(Double crewRealpay) {
        this.crewRealpay = crewRealpay;
    }

    @Override
    public String toString() {
        return "Crew{" +
                "crewId=" + crewId +
                ", crewName='" + crewName + '\'' +
                ", crewSex='" + crewSex + '\'' +
                ", crewJob='" + crewJob + '\'' +
                ", crewPhone='" + crewPhone + '\'' +
                ", crewCreatDate=" + crewCreatDate +
                ", crewDepartment='" + crewDepartment + '\'' +
                ", crewStatus='" + crewStatus + '\'' +
                ", crewRealpay=" + crewRealpay +
                '}';
    }
}
